//
//  FileOperateCell.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/5/7.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FileOperateCellDelegate <NSObject>
@optional
- (void)FileOperateCellDidOpenWithIndexPath:(NSIndexPath *)indexPath;
- (void)FileOperateCellDidForwardWithIndexPath:(NSIndexPath *)indexPath;
- (void)FileOperateCellDidDelWithIndexPath:(NSIndexPath *)indexPath;
- (void)FileOperateCellDidDownPressedWithIndexPath:(NSIndexPath *)indexPath;
@end

@interface FileOperateCell : UITableViewCell
@property (nonatomic, strong) NSIndexPath *indePath;
@property(nonatomic, strong)IBOutlet UILabel *titleLabel;
@property(nonatomic, strong)IBOutlet UIImageView *fileIcon;
-(IBAction)downPressed:(id)sender;
-(IBAction)open:(id)sender;
-(IBAction)forward:(id)sender;
-(IBAction)del:(id)sender;
@property (nonatomic ,weak) id<FileOperateCellDelegate> fileOperateCellDelegate;
@end
